package com.xuecheng.content.service.impl;

import com.xuecheng.common.domain.code.CommonErrorCode;
import com.xuecheng.common.domain.response.RestResponse;
import com.xuecheng.content.agent.MediaApiAgent;
import org.springframework.stereotype.Component;


@Component
public class MediaApiAgentFallBack implements MediaApiAgent {


        @Override
        public RestResponse getById(Long mediaId) {

            RestResponse<Object> validfail = RestResponse.validfail(CommonErrorCode.E_999981);

            return validfail;
        }
    }

